<!DOCTYPE html>
<html>
<head>
	<title></title>
	<style type="text/css">
		div {
			width: 300px;
			height: 200px;
			background-color: pink;
			/*transform: translate(50%);*/
			/*margin: 0 auto;*/
			position: absolute;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
		}
	</style>
</head>
<body>
	<div></div>
</body>
</html>